<template>
    <div class="school">
        <h2>学校名称:{{name}}</h2>
        <h2>学校地址：{{address}}</h2>
    </div>
</template>

<script>
export default {
    name:"SchoolName",
    data(){
        return{
            name:"辽宁大学",
            address:"北京-昌平"
        }
    },
}
</script>
<style>
    .school{
        background-color: gold;
    }
</style>